import request from '@/utils/request'

/**
 * 新增用户统计
 * @param {*} begin 
 * @param {*} end 
 * @returns 
 */
export const getNewUserReportService = (begin, end) => {
    return request.get('/admin/charts/new/user', {
        params: {
            begin,
            end
        }
    })
}

/**
 * 站点访问量统计
 * @param {*} begin 
 * @param {*} end 
 * @returns 
 */
export const getWebViewCountService = (begin,end) => {
    return request.get('/admin/charts/web/view', {
        params: {
            begin,
            end
        }
    })
}

/**
 * 点赞量统计
 * @param {*} begin 
 * @param {*} end 
 * @returns 
 */
export const getLikeINfoService = (begin, end) => {
    return request.get('/admin/charts/like', {
        params: {
            begin,
            end
        }
    })
}